package cn.zhiran.org.query;

import lombok.Data;

/**
 * 高级查询参数
 */
@Data
public class DepartmentQuery {
    //当前页
    private Integer currentPage = 1;
    //每页显示条数
    private Integer pageSize = 5;
    //高级查询参数
    private Integer getBegin(){
        return (this.currentPage-1)*this.pageSize;
    }
}
